<template>
  <div v-if="item in article" :key="item.index">
    <header>
      <h1>{{item.title}}</h1>
    </header>
    </div>
</template>

<script>
import axios from 'axios'
export default {
  name: 'Information',
 data(){
  return{
    article:'null'
  }
 },
  async created(){
    const {data}=await axios(
      {url:'http://liufusong.top:8080/houses?cityId=AREA%7Cdbf46d32-7e76-1196&stat=1&end=10'})
  console.log(data);
  }
}
</script>
